package com.kingkim.electromechanical.usercenter.mapper;

import com.kingkim.electromechanical.usercenter.model.po.Role;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.dao.DataAccessException;

import java.util.List;
@Mapper
public interface RoleMapper {

    List<Role> QueryForList(Role role) throws DataAccessException;

    int DeleteForList(List<String> ids) throws DataAccessException;

    int Modify(Role role ) throws DataAccessException;

    int Save(Role role) throws DataAccessException;
}
